#ifndef AudioManager_H
#define AudioManager_H

#include <irrKlang.h>
using namespace irrklang;

class AudioManager {

private:
	ISoundEngine * mSoundEngine;
	ISound * mMusic;
	//ISoundSource mInitialSources;
	irrklang::ik_s32 mInitialSources;
protected:
public:

private:
protected:
public:
	AudioManager( ISoundEngine * _soundEngine );
	//AudioManager( );
	~AudioManager();

	void playSFX( const char *_fileName );
	void playMusic( const char *_fileName, bool bln ); // (music_src, loop)
	void pauseMusic( );
	void resumeMusic( );
	void stopMusic( );
	void setAudioVolume( irrklang::ik_f32 _volume );
	irrklang::ik_f32 getAudioVolume();
	void unloadAllSounds( );
};
#endif